package com.ruoyi.yun.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.yun.mapper.YunCoufigAamserviceMapper;
import com.ruoyi.yun.domain.YunCoufigAamservice;
import com.ruoyi.yun.service.IYunCoufigAamserviceService;

/**
 * 附件服务管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class YunCoufigAamserviceServiceImpl implements IYunCoufigAamserviceService 
{
    @Autowired
    private YunCoufigAamserviceMapper yunCoufigAamserviceMapper;

    /**
     * 查询附件服务管理
     * 
     * @param id 附件服务管理主键
     * @return 附件服务管理
     */
    @Override
    public YunCoufigAamservice selectYunCoufigAamserviceById(Long id)
    {
        return yunCoufigAamserviceMapper.selectYunCoufigAamserviceById(id);
    }

    /**
     * 查询附件服务管理列表
     * 
     * @param yunCoufigAamservice 附件服务管理
     * @return 附件服务管理
     */
    @Override
    public List<YunCoufigAamservice> selectYunCoufigAamserviceList(YunCoufigAamservice yunCoufigAamservice)
    {
        return yunCoufigAamserviceMapper.selectYunCoufigAamserviceList(yunCoufigAamservice);
    }

    /**
     * 新增附件服务管理
     * 
     * @param yunCoufigAamservice 附件服务管理
     * @return 结果
     */
    @Override
    public int insertYunCoufigAamservice(YunCoufigAamservice yunCoufigAamservice)
    {
        return yunCoufigAamserviceMapper.insertYunCoufigAamservice(yunCoufigAamservice);
    }

    /**
     * 修改附件服务管理
     * 
     * @param yunCoufigAamservice 附件服务管理
     * @return 结果
     */
    @Override
    public int updateYunCoufigAamservice(YunCoufigAamservice yunCoufigAamservice)
    {
        return yunCoufigAamserviceMapper.updateYunCoufigAamservice(yunCoufigAamservice);
    }

    /**
     * 批量删除附件服务管理
     * 
     * @param ids 需要删除的附件服务管理主键
     * @return 结果
     */
    @Override
    public int deleteYunCoufigAamserviceByIds(Long[] ids)
    {
        return yunCoufigAamserviceMapper.deleteYunCoufigAamserviceByIds(ids);
    }

    /**
     * 删除附件服务管理信息
     * 
     * @param id 附件服务管理主键
     * @return 结果
     */
    @Override
    public int deleteYunCoufigAamserviceById(Long id)
    {
        return yunCoufigAamserviceMapper.deleteYunCoufigAamserviceById(id);
    }
}
